//
//  EpointWebInfoModel.m
//  EpointFrame5
//
//  Created by 李亚春 on 14-1-17.
//  Copyright (c) 2014年 Epoint. All rights reserved.
//

#import "EpointWebInfoModel.h"

@implementation EpointWebInfoModel

- (void) encodeWithCoder: (NSCoder *)coder
{
    [coder encodeObject:self.InfoGuid forKey:@"InfoGuid"];
    [coder encodeObject:self.txtTitle forKey:@"txtTitle"];
    [coder encodeObject:self.Content forKey:@"Content"];
    [coder encodeObject:self.PostUserName forKey:@"PostUserName"];
    [coder encodeObject:self.PostDate forKey:@"PostDate"];
    [coder encodeObject:self.InfoProperty forKey:@"InfoProperty"];
    [coder encodeObject:self.IsRead forKey:@"IsRead"];
    [coder encodeObject:self.HasAttach forKey:@"HasAttach"];
    [coder encodeObject:self.FeedBackCount forKey:@"FeedBackCount"];
}

- (id) initWithCoder: (NSCoder *) coder
{
    self.InfoGuid = [[coder decodeObjectForKey:@"InfoGuid"]copy];
    self.txtTitle = [[coder decodeObjectForKey:@"txtTitle"]copy];
    self.Content = [[coder decodeObjectForKey:@"Content"]copy];
    self.PostUserName = [[coder decodeObjectForKey:@"PostUserName"]copy];
    self.PostDate = [[coder decodeObjectForKey:@"PostDate"]copy];
    self.InfoProperty = [[coder decodeObjectForKey:@"InfoProperty"]copy];
    self.IsRead = [[coder decodeObjectForKey:@"IsRead"]copy];
    self.HasAttach = [[coder decodeObjectForKey:@"HasAttach"]copy];
    self.FeedBackCount = [[coder decodeObjectForKey:@"FeedBackCount"]copy];
    return self;
}

@end
